#encoding:utf8

from CronTrigger import CronTrigger
from util import convert_to_datetime
from datetime import datetime

c = CronTrigger(year="*", month="*", day="*", hour="1")

p = convert_to_datetime("2016-11-27 17:46:23")
n = convert_to_datetime(datetime.now())

v = c.get_next_fire_time(p, n)

print v



